package com.ruoyi.wx.mapper;

import com.ruoyi.wx.entity.PtVideo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 视频表 Mapper 接口
 * </p>
 *
 * @author moxiu
 * @since 2022-03-04
 */
public interface PtVideoMapper extends BaseMapper<PtVideo> {

    /**
     * 根据ids 查询视频数量
     * @param ids ids
     * @return 数量
     */
    Long getVideoCount(@Param("ids") long[] ids);

}
